package com.Java.train.business.service;

import com.Java.train.common.response.CommonResp;
import com.Java.train.business.entity.TrainCarriage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.Java.train.common.response.PageResp;
import com.Java.train.business.entity.DTO.TrainCarriageDTO;
import com.Java.train.business.req.TrainCarriageQueryReq;

/**
* @author luomoxingchen
* @since 2024-09-22
*/
public interface TrainCarriageService extends IService<TrainCarriage> {

    /**
    * TrainCarriage详情
    * @param
    * @return
    */
    PageResp<TrainCarriageDTO> queryList(TrainCarriageQueryReq trainCarriageQueryReq);

    /**
    * TrainCarriage保存和修改
    * @param trainCarriage 根据需要进行传值
    * @return
    */
    CommonResp<Object> modify(TrainCarriage trainCarriage);

    /**
    * TrainCarriage删除
    * @param ids
    * @return
    */
    CommonResp<Object> remove(String ids);
}


